﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace cancercurer
{
    class People
    {
        int age, yearOfTheOperation, numberOfNodes, surviveMore;

        /// <summary>
        /// Construc for a people with all the parameters
        /// </summary>
        /// <param name="_age">The age of the people at the operation</param>
        /// <param name="_yearOfTheOperation">The year of the operation</param>
        /// <param name="_numberOfNodes">The number of Nodes cancerous</param>
        /// <param name="_serviveMore">1 if survive 5 or more , 2 if less than 5</param>
        public People(int _age, int _yearOfTheOperation, int _numberOfNodes, int _serviveMore)
        {
            this.age = _age;
            this.yearOfTheOperation = _yearOfTheOperation;
            this.numberOfNodes = _numberOfNodes;
            this.surviveMore = _serviveMore;
        }

        /// <summary>
        /// Getter and Setter for SurviveMore
        /// </summary>
        public int GetSetSurviveMore
        {
            get { return surviveMore; }
            set { surviveMore = value; }
        }

        /// <summary>
        /// Getter and Setter for the Age
        /// </summary>
        public int GetSetAge
        {
            get { return age; }
            set { age = value; }
        }

        /// <summary>
        /// Getter and Setter for the number of nodes
        /// </summary>
        public int GetSetNumberOfNodes
        {
            get { return numberOfNodes; }
            set { numberOfNodes = value; }
        }

        /// <summary>
        /// Getter and Setter for the year of the operation
        /// </summary>
        public int GetSetYearOfTheOperation
        {
            get { return yearOfTheOperation; }
            set { yearOfTheOperation = value; }
        }
    }
}
